package com.lzl.artisan.service;

import com.lzl.artisan.model.Result;
import com.lzl.artisan.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzl.artisan.model.dto.LoginDto;

/**
* @author 59399
* @description 针对表【user】的数据库操作Service
* @createDate 2023-05-11 12:58:20
*/
public interface UserService extends IService<User> {

    User getByPhone(String phone);

    Result login(LoginDto loginDto,boolean codeAuth);

    Result register(User user,String token,String code);
}
